package com.macro.mall.tiny.modules.pms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author tyrone
 * @since 2024-10-09
 */
@Getter
@Setter
@TableName("pms_error_code")
@ApiModel(value = "PmsErrorCode对象", description = "")
public class PmsErrorCode implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("品牌id")
    private Integer brandId;

    @ApiModelProperty("分类id")
    private Integer categoryId;

    @ApiModelProperty("故障码")
    private String errorCode;

    @ApiModelProperty("适用类型")
    private String adaptType;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("喜欢数量")
    private Integer likeNum;

    @ApiModelProperty("不喜欢数量")
    private Integer unlikeNum;

    @TableField(exist = false)
    @ApiModelProperty("当前用户是否点赞 0否1是")
    private Integer currentMemberLike = 0;

    @ApiModelProperty("分类名称")
    @TableField(exist = false)
    private String categoryName;

    @ApiModelProperty("分类名称")
    @TableField(exist = false)
    private String brandName;

}
